from selenium import webdriver
import pytest


@pytest.fixture(scope='function',name='driver')
def broswer():
    url = "http://8.148.229.201:8899/admin"
    driver = webdriver.Chrome()
    driver.implicitly_wait(15)
    driver.maximize_window()
    driver.get(url)
    yield driver
    driver.quit()

@pytest.fixture(scope='function',name='buer_driver')
def buer():
    url = "http://jxc.b2zg.cn/#/login"
    driver = webdriver.Chrome()
    driver.implicitly_wait(15)
    driver.maximize_window()
    driver.get(url)
    yield driver
    driver.quit()



